"use strict";
{
    let me = {
        id: 1,
        name: '宇宙',
        age: 24,
        hobby: ['唱', '跳', 'rap', '篮球'],
        cook() {
            console.log('好耶');
        }
    };
    let you = {
        id: 2,
        name: '宇宙',
        age: 24,
        hobby: ['唱', '跳', 'rap', '篮球'],
        cook: () => {
            console.log('好耶');
        }
    };
}
{
    class BoyFriend {
        constructor(name, age, hobby, car) {
            this.name = name;
            this.age = age;
            this.hobby = hobby;
            // this.car=car
        }
        cook() {
            console.log('asda');
        }
    }
    let yyy = new BoyFriend('yyy', 19, ['c', 't', 'r', 'l']);
}
